package com.pqtel.libonvif;

/**
 * - @description:
 * - @author:  chezi008/chezi008@qq.com
 * - @date:  2020/1/15 15:31
 */
public class LibOnvif {
    static {
        //注意这里为自己指定的.so文件，无lib前缀，亦无后缀
        System.loadLibrary("pqonvif");
    }

    public native String init(String userName,String pwd,String ip);

    public native String getOnvifMediaUri(String ip);

    public native void setTokenByUri(String ip,String uri);

    public native int doPtz(String ip, int ptz_command, float ptz_speed);

    public native int doPtzStop(String ip);
}
